﻿
@{
    ViewBag.Title = "Login";
    Layout = "~/Views/LoginIndex/Login_PartialPage.cshtml";
}
@model YaYun.Models.admin

<script>

</script>
<style>
    .toggle_password {
        width: 27px;
        height: 27px;
        background-color: transparent;
        border: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        fill: #222;
    }
</style>
<div class="login-form-wrapper--l8sv0">
    <div class="login-form-title--MVsaP">登录到雅韵设计公司</div>
    <div class="login-form-sub-title--zvIQu">欢迎回来！</div>
    <div class="login-form-error-msg--SUMWl">
        @Html.ValidationSummary()
    </div>

    @using (Html.BeginForm("Login", "LoginIndex", FormMethod.Post))
    {
        <form class="arco-form arco-form-vertical arco-form-size-default">
            <div class="arco-row-align-start arco-row-justify-start arco-form-item arco-form-layout-vertical">
                <div class="arco-form-item-wrapper">
                    <div class="arco-form-item-control-wrapper">
                        <div class="arco-form-item-control" id="userName">
                            <div class="arco-form-item-control-children">
                                <div class="arco-input-group-wrapper arco-input-group-wrapper-default">
                                    <span class="arco-input-group">
                                        <span class="arco-input-inner-wrapper arco-input-inner-wrapper-has-prefix arco-input-inner-wrapper-default">
                                            <span class="arco-input-group-prefix">
                                                <?xml version="1.0" encoding="UTF-8" ?>
                                                <svg width="14" height="14" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path d="M4 39H44V24V9H24H4V24V39Z" fill="none" stroke="#222" stroke-width="4" stroke-linejoin="miter" />
                                                    <path d="M4 9L24 24L44 9" stroke="#222" stroke-width="4" stroke-linecap="round" stroke-linejoin="miter" />
                                                    <path d="M24 9H4V24" stroke="#222" stroke-width="4" stroke-linecap="round" stroke-linejoin="miter" />
                                                    <path d="M44 24V9H24" stroke="#222" stroke-width="4" stroke-linecap="round" stroke-linejoin="miter" />
                                                </svg>
                                            </span>

                                            @Html.TextBoxFor(n => n.email, new
        {
            id = "userName_input",
            placeholder = "用户名/手机号码/邮箱 ",
            @class = "arco-input arco-input-size-default"
        })

                                        </span>
                                    </span>
                                    <!-- --gray-2: 242, 243, 245; -->
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


            <div class="arco-row-align-start arco-row-justify-start arco-form-item arco-form-layout-vertical">
                <div class="arco-form-item-wrapper">
                    <div class="arco-form-item-control-wrapper">
                        <div class="arco-form-item-control" id="password">
                            <div class="arco-form-item-control-children">
                                <div class="arco-input-group-wrapper arco-input-group-wrapper-default arco-input-has-suffix arco-input-password arco-input-password-visibility">
                                    <span class="arco-input-group">
                                        <span class="arco-input-inner-wrapper arco-input-inner-wrapper-has-prefix arco-input-inner-wrapper-default">
                                            <span class="arco-input-group-prefix">
                                                <svg fill="none" stroke="currentColor" stroke-width="4" viewBox="0 0 48 48" width="1em" height="1em" class="arco-icon arco-icon-lock">
                                                    <rect width="34" height="20" x="7" y="21" rx="1"></rect>
                                                    <path d="M15 21v-6a9 9 0 1 1 18 0v6M24 35v-8"></path>
                                                </svg>
                                            </span>
                                            @Html.PasswordFor(u => u.adminPassword, new
        {
            id = "password_input",
            @class = "arco-input arco-input-size-default",
            placeholder = "请输入密码"
        })
                                           
                                            <span class="arco-input-group-suffix">
                                                <svg fill="none" stroke="currentColor" stroke-width="4" viewBox="0 0 48 48" width="1em" height="1em"
                                                     class="arco-icon arco-icon-eye-invisible">

                                                </svg>
                                            </span>
                                        </span>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="arco-space arco-space-vertical">
                <div class="arco-space-item" style="margin-bottom: 16px;">
                    <div class="login-form-password-actions--T5Gob">

                    </div>
                </div>


                <input type="submit" class="arco-btn arco-btn-primary arco-btn-size-default arco-btn-shape-square arco-btn-long"
                       id="btn" value="登录" />




            </div>
        </form>
    }
</div>